package test_package;

import org.openqa.selenium.firefox.FirefoxDriver;
import org.testng.annotations.AfterTest;
import org.testng.annotations.BeforeTest;

import java.util.concurrent.TimeUnit;


public class PrePostConditions {
    public FirefoxDriver driver;

    @BeforeTest

    public void setUp(){

        driver = new FirefoxDriver();

        driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);

        driver.get("http://rozetka.com.ua/");

    }

    @AfterTest

    public void tearDown(){

        driver.quit();

    }




}